/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package utilitarios.erros;

import org.jdesktop.swingx.JXErrorPane;
import org.jdesktop.swingx.error.ErrorInfo;

/**
 *
 * @author KLINGER
 */
public class MessagemErro {// extends DefaultDemoPanel {

    public MessagemErro(ErrorInfo info, int tipoErro) {

        if (tipoErro == 1) {
            JXErrorPane.showDialog(null, info);
        }
    }

}
